


#ifndef PF_PAINTERADAPTER_H
#define PF_PAINTERADAPTER_H

#include "pf_painter.h"
//Added by qt3to4:
#include <qpolygon.h>
#include "lx_Export.h"


/**
 * An abstract adapter class for painter object. The methods in this class are empty. 
 * This class exists as convenience for creating painter objects.
 */
class LX_EXPORT PF_PainterAdapter: public PF_Painter {
public:
    PF_PainterAdapter() : PF_Painter() {}
    virtual ~PF_PainterAdapter() {}
	
	virtual void moveTo(int , int ) {}
	virtual void lineTo(int , int ) {}

    virtual void drawGridPoint(const PF_Vector&) {}
    virtual void drawPoint(const PF_Vector&) {}
    virtual void drawLine(const PF_Vector&, const PF_Vector&) {}
    virtual void drawRect(const PF_Vector&, const PF_Vector&) {}
    virtual void drawArc(const PF_Vector&, double,
                         double, double,
                         const PF_Vector&, const PF_Vector&,
                         bool ) {}
    virtual void drawArc(const PF_Vector&, double,
                         double, double,
                         bool ) {}
    void createArc(QPolygon& ,
                   const PF_Vector&, double,
                   double, double,
                   bool ) {}
    virtual void drawCircle(const PF_Vector&, double) {}
    virtual void drawEllipse(const PF_Vector&,
                             double, double,
                             double,
                             double, double,
                             bool ) {}
        virtual void drawImg(QImage& , const PF_Vector&,
			double, const PF_Vector&,
			int, int, int, int) {}

    virtual void drawTextH(int, int, int, int,
                           const PF_String&) {}
    virtual void drawTextV(int, int, int, int,
                           const PF_String&) {}

    virtual void fillRect(int, int, int, int,
                          const PF_Color&) {}

    virtual void fillTriangle(const PF_Vector&,
                              const PF_Vector&,
                              const PF_Vector&) {}

    virtual PF_Pen getPen() { return PF_Pen(); }
    virtual void setPen(const PF_Pen&) {}
    virtual void setPen(const PF_Color&) {}
    virtual void setPen(int, int, int) {}
    virtual void disablePen() {}
	virtual void setBrush(const PF_Color&) {}
	virtual void drawPolygon(const QPolygon& ) {}
	virtual void erase() {}
	virtual int getWidth() { return 0; }
	virtual int getHeight() { return 0; }

    virtual void setClipRect(int, int, int, int) {}
    virtual void resetClipping() {}

};

#endif
